# $Id: PKGBUILD 183400 2013-04-21 22:10:26Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=gnome-shell-extensions
pkgver=3.8.1
pkgrel=1
pkgdesc="Extensions for GNOME shell, including classic mode"
arch=(any)
url="http://live.gnome.org/GnomeShell/Extensions"
license=(GPL2)
depends=(gnome-shell)
makedepends=(intltool)
optdepends=('nautilus: required for classic session')
install=gnome-shell-extensions.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz)
sha256sums=('f0c198dd7c185ddf5d20986c698882d39e28837e9fa9230eabd90eb7501c062f')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --libexecdir=/usr/lib/gnome-session --enable-extensions=all
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
